﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.Abstractions.Pack.Attributes;

/// <summary>
/// 模块依赖
/// </summary>
/// <param name="dependedPackType"></param>
[AttributeUsage(AttributeTargets.Class
    , AllowMultiple = true,Inherited =true)]
public class DependPackAttribute(Type dependedPackType) : Attribute
{
    /// <summary>
    /// 获取 当前模块的依赖模块类型集合
    /// </summary>
    public Type DependedPackType { get; } = dependedPackType;
}